<?php

return [
    /*
    |--------------------------------------------------------------------------
    | Default Currency
    |--------------------------------------------------------------------------
    |
    | The default currency used for membership pricing throughout the package.
    |
    */
    'currency' => env('MEMBERSHIP_CURRENCY', 'USD'),

    /*
    |--------------------------------------------------------------------------
    | Default Membership Duration
    |--------------------------------------------------------------------------
    |
    | Default duration in days for memberships if not specified.
    | Set to null for perpetual (lifetime) memberships.
    |
    */
    'default_duration' => env('MEMBERSHIP_DEFAULT_DURATION', 30),

    /*
    |--------------------------------------------------------------------------
    | VIP Membership Slug
    |--------------------------------------------------------------------------
    |
    | The slug identifier for your VIP membership plan.
    | This is used by the isVip() method to check VIP status.
    |
    */
    'vip_slug' => env('MEMBERSHIP_VIP_SLUG', 'vip'),

    /*
    |--------------------------------------------------------------------------
    | User Model
    |--------------------------------------------------------------------------
    |
    | The user model class used in your application.
    | This allows you to use any model name (User, UserAccount, Member, etc.)
    |
    */
    'user_model' => env('MEMBERSHIP_USER_MODEL', 'App\\Models\\User'),

    /*
    |--------------------------------------------------------------------------
    | Grace Period
    |--------------------------------------------------------------------------
    |
    | Number of days after expiration to keep membership features active.
    | Set to 0 to disable grace period.
    |
    */
    'grace_period_days' => env('MEMBERSHIP_GRACE_PERIOD', 0),

    /*
    |--------------------------------------------------------------------------
    | Auto Deactivate Expired
    |--------------------------------------------------------------------------
    |
    | Automatically deactivate expired memberships when checked.
    | Set to false if you want to handle this manually.
    |
    */
    'auto_deactivate_expired' => env('MEMBERSHIP_AUTO_DEACTIVATE', true),
];
